package com.qzyh.esb.egsa.service;

import com.qzyh.esb.egsa.bean.vo.DeptTreeVO;
import com.qzyh.esb.egsa.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qzyh.esb.egsa.utils.ResultObject;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author whq
 * @since 2023-03-16
 */
public interface IDeptService extends IService<Dept> {

    List<DeptTreeVO> getList(String deptName);

    ResultObject deleteById(String id);

    List<String> getFatherTree(List<DeptTreeVO> deptTreeVOList, String id);

    List<Dept> queryByName(String deptName);

    List<Dept> queryByIds(String idsStr);
}
